package com.zsqat.eshop.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 二级分类
 *
*/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Category2Vo {
   // 一级父分类的id
  private String catagory1Id;
  // 三级子分类
  private List<Category3Vo> category3List;
  private String id;
  private String name;

  // 三级分类vo
  @Data
  @AllArgsConstructor
  @NoArgsConstructor
  public static class Category3Vo {
    private String category2Id;
    private String id;
    private String name;
  }
}
